]> dgit.raspbian.org Git - gnome-shell.git/commit
app: Stop using window visibility when comparing apps
authorFlorian Müllner <fmuellner@gnome.org>
Fri, 6 Sep 2013 20:21:12 +0000 (22:21 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Fri, 6 Sep 2013 22:09:31 +0000 (00:09 +0200)
commit1dfc38d07852b80044bc97a6882880ebb3e818bd
tree5fa06237b2f19e5b1ccab048e62366474892de48
parent387184b052f6969681f3028fcde8416c92333ac5
app: Stop using window visibility when comparing apps

shell_app_compare() (which is only used as sort function for
shell_app_system_get_running() nowadays) currently takes the
visibility of an app's windows into account, e.g. applications
with visible windows (non-minimized windows on current workspace)
sort earlier than applications without.
This translate traditional window-switcher behavior to applications,
but we stopped sorting by workspace in the app-switcher a while ago,
and with the new auto-minimization behavior of fullscreen windows
it is more confusing than helpful - in fact, since mutter commit
7e61ef09369a we no longer do this for the window list, so it
makes sense to apply the same to application sorting.

https://bugzilla.gnome.org/show_bug.cgi?id=707663
src/shell-app.c